public class Test1 {
    public static void main(String[] args) {
        char[] arr = {'a','b','c'};
        String s = new String(arr , 1 ,2);

        StringBuilder stringBuilder = new StringBuilder(s);
        stringBuilder.reverse() ;
    }

}
